﻿<table class="table table-striped table-hover">
            <thead>
                <tr>
                    <th scope="col">#</th>
                    <th scope="col">题目</th>
                    <th scope="col">非常好</th>
                    <th scope="col">较好</th>
                    <th scope="col">一般</th>
                    <th scope="col">非常差</th>
                </tr>
            </thead>
            <tbody>
                @{
                    var index = 1;
                    foreach (QuesInfoVM item in Model?.QuesInfos)
                    {
                        <tr>
                            <td scope="row">@index</td>
                            <td>@item.Claim.Text</td>
                            <td>
                                <input type="radio" name="grade+@index" value="1" data-claimId="@item.Claim.Id" id="very_good_q+@index" ng-change="radioChange($index+1)" @Html.Raw(Model.IsEvaluate && item.Answer != 1 ? "disabled" : "checked")/>
                                <label for="very_good_q+@index"></label>
                            </td>
                            <td>
                                <input type="radio" name="grade+@index" value="2" data-claimId="@item.Claim.Id" id="better_q+@index" ng-change="radioChange($index+1)" @Html.Raw(Model.IsEvaluate && item.Answer != 2 ? "disabled" : "checked")/>
                                <label for="better_q+@index"></label>
                            </td>
                            <td>
                                <input type="radio" name="grade+@index" value="3" data-claimId="@item.Claim.Id" id="ordinary_q+@index" ng-change="radioChange($index+1)" @Html.Raw(Model.IsEvaluate && item.Answer != 3 ? "disabled" : "checked")/>
                                <label for="ordinary_q+@index"></label>
                            </td>
                            <td>
                                <input type="radio" name="grade+@index" value="4" data-claimId="@item.Claim.Id" id="very_bad_q+@index" ng-change="radioChange($index+1)" @Html.Raw(Model.IsEvaluate && item.Answer != 4 ? "disabled" : "checked")/>
                                <label for="very_bad_q+@index"></label>
                            </td>
                        </tr>
                        <label id="question_@index" style="color: red; display: none;">第 @index 请选择答题</label>
                        index++;
                    }
                }
            </tbody>
        </table>